<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      div {
        width: 500px;
        font-size: 50px;
        border: 1px red solid;
        /* 字体对齐方式 */
        /* text-align: center; */
        text-align: justify;
      }
      span {
        /* 设置文本元素的垂直对齐方式 */
        vertical-align: middle;
        font-size: 20px;
      }
      p {
        border: 1px red solid;
      }
      img {
        /* 通过配置图片的对齐方式使其刚好填充完全 */
        /* vertical-align: bottom; */
      }
    </style>
  </head>
  <body>
    <div>Lorem <span>ooooo.哦哦哦哦哦哦</span>ipsum dolor sit amet consectetur adipisicing elit. Quam autem, nemo aliquam alias totam optio culpa eaque blanditiis accusantium laudantium, delectus eligendi reprehenderit! Ullam impedit, ut in nemo atque exercitationem.</div>

    <p><img src="../../img/1.jpeg" alt="" /></p>
  </body>
</html>
